from queue import Queue

broker_name = 'simnow模拟'
investorID = '0010100049'
password = 'wsy@1234'
broker_id = '4500'
market_server_front = 'tcp://101.226.253.32:42213'
market_server_front1 = 'tcp://101.200.144.24:41313'
market_server_front2 = 'tcp://115.29.76.187:41313'
market_server_front3 = 'tcp://180.166.45.116:41313'
market_server_front4 = 'tcp://58.246.134.250:41215'
market_server_front5 = 'tcp://101.230.104.170:41215'

trade_server_front = 'tcp://101.200.144.24:41305'
trade_server_front1 = 'tcp://101.230.104.170:41207'
trade_server_front2 = 'tcp://58.246.134.250:41207'

appID = 'client_wsy_1.0'
authcode = 'LMKSIY1F8NPE228Y'

redis_ip = '39.106.184.170'
redis_port = 6379
redis_db = 10
redis_password = 'chenshi'

# websocket
wss_port = 29000
wss = []
ws_dic = {}

# 合约交易所
ExchangeID = {}

# tick数据队列
tickQueue = Queue()

# 期权或期货（future、option）
future_type ='future'